<?php
class customization extends baseentity
{
    public function __construct($args=array())
    {
        parent::__construct($args);
    }

    protected $userid;
    protected $trainitemid;

    public function getfields()
    {
        return get_class_vars(__CLASS__);
    }

    public function create($user, $trainitem)
    {
        $trainitem = new self;
        $trainitem->userid = $user->id;
        $trainitem->trainitemid = $trainitem->id;
    } 
}
